package org.scirp.ijmis.service.common.impl;

import java.util.List;

import org.scirp.ijmis.dao.common.IGlobalDAO;
import org.scirp.ijmis.po.common.Global;
import org.scirp.ijmis.service.common.IGlobalService;

public class GlobalServiceImpl implements IGlobalService {

	private IGlobalDAO globalDAO;

	public IGlobalDAO getGlobalDAO() {
		return globalDAO;
	}

	public void setGlobalDAO(IGlobalDAO globalDAO) {
		this.globalDAO = globalDAO;
	}

	public List<Global> selectAll() {

		return this.globalDAO.selectAll();
	}

	public Global selectById(Object id) {

		return this.globalDAO.selectById(id);
	}

	public Long countObject() {
		// TODO Auto-generated method stub
		return null;
	}

	public Global getGlobal() {
		return this.selectById(1);
	}

}
